home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 2.5 KB | 111 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _WINSTATB_
- #define _WINSTATB_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //=====================================================================================
- // Classes defined in this interface
- //=====================================================================================
-
- interface ODBaseWindowState;
-
- //=====================================================================================
- // Classes used by this interface
- //=====================================================================================
-
- interface ODMenuBar;
- interface ODSession;
- interface ODDraft;
- interface ODWindow;
- interface ODFrame;
- interface ODPart;
- interface ODWindowIterator;
-
- //=====================================================================================
- // ODBaseWindowState
- //=====================================================================================
-
-
- interface ODBaseWindowState : ODObject
- {
- ODWindow CreateWindow(in ODPlatformWindow newWindow,
- in ODBoolean isRootWindow,
- in ODBoolean isResizable,
- in ODBoolean isFloating,
- in ODBoolean shouldSave,
- in ODPart rootPart,
- in ODTypeToken viewType,
- in ODTypeToken presentation,
- in ODFrame sourceFrame);
-
- ODWindow GetWindow(in ODID id);
-
- void Internalize(in ODDraft draft);
-
- void Externalize(in ODDraft draft);
-
- void SetDefaultWindowTitles(in ODDraft draft);
-
- void OpenWindows(in ODDraft draft);
-
- void CloseWindows(in ODDraft draft);
-
- ODUShort GetWindowCount();
-
- ODUShort GetRootWindowCount(in ODDraft draft);
-
- ODUShort GetTotalRootWindowCount();
-
- ODBoolean IsODWindow(in ODPlatformWindow aWindow);
-
- ODWindow GetODWindow(in ODPlatformWindow aWindow);
-
- ODWindowIterator CreateWindowIterator();
-
- ODWindow GetActiveWindow();
-
- void SetBaseMenuBar(in ODMenuBar theMenuBar);
-
- ODMenuBar CopyBaseMenuBar();
-
- void AdjustPartMenus();
-
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somInit,
- somUninit;
-
- releaseorder:
- CreateWindow,
- GetWindow,
- Internalize,
- Externalize,
- SetDefaultWindowTitles,
- OpenWindows,
- CloseWindows,
- GetWindowCount,
- GetRootWindowCount,
- GetTotalRootWindowCount,
- IsODWindow,
- GetODWindow,
- CreateWindowIterator,
- GetActiveWindow,
- SetBaseMenuBar,
- CopyBaseMenuBar,
- AdjustPartMenus,
- reserved1;
-
- majorversion = 1; minorversion = 0;
-
- };
- #endif
- };
-
- #endif //# _WINSTATB_
-